import logo from './logo.svg';
import './App.css';
import React, { useState } from 'react';
import Resize from './components/Resize';
import Count from './components/Count';
function App() {
  const [value, setValue] = useState(2);

  return (
    <div className="App">
     hello world
     <div>
      <p>useResize --Resize组件</p>
      <Resize></Resize>
     </div>
     <div>
      <p>useCount--Count计数组件</p>
      <Count count={value}></Count>
     </div>
    </div>
  );
}

export default App;
